package com.fare.taluo.application.fetl;

import java.util.List;

import com.fare.taluo.vo.core.PlaneInfo;
import com.fare.taluo.vo.doub.DoublePlaneInfoVO;

public interface DoublePlaneInfoApplication {
	
	/**
	 * 查询往返
	 * @param hbaseKey  20005
	 * @param fromCity  PEK
	 * @param toCity    CAN
	 * @param flightBatchDate '2014-03-13'
	 * @param returnFlightDate '2014-04-13'
	 * @param flightNo 'CA1321'
	 * @return
	 */
	public List<DoublePlaneInfoVO> findPlaneInfoProperty(String hbaseKey,
			String fromCity, String toCity, String flightBatchDate,String returnFlightDate,String flightNo);
	
	/**
	 * 将查询结果转换为 PlaneInfo
	 * @return
	 */
	public List<PlaneInfo> findPlaneInfo(String hbaseKey,
			String fromCity, String toCity, String flightBatchDate,
			String returnFlightDate,String flightNo);
	/**
	 * 运价查询中用到的查询
	 * @param hbaseKey
	 * @param fromCity
	 * @param toCity
	 * @param flightBatchDate
	 * @param returnFlightDate
	 * @return
	 */
	public List<PlaneInfo>  queryFreightPrice(String hbaseKey,String carrierKey,
			String fromCity, String toCity, String flightBatchDate,
			String returnFlightDate);

}
